label: Add missing nullable annotation
authorTimm Bäder <mail@baedert.org>
Sat, 12 Jan 2019 07:03:47 +0000 (08:03 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 13 Jan 2019 07:23:25 +0000 (08:23 +0100)
gtk/gtklabel.c

index 1d4223aada325f097ca85dd6a64f224d229e5638..57db38485b5eaef795275033386558960b0baebe 100644 (file)
@@ -6254,8 +6254,8 @@ gtk_label_get_current_link (GtkLabel *label)
  * This function is intended for use in a #GtkLabel::activate-link handler
  * or for use in a #GtkWidget::query-tooltip handler.
  *
- * Returns: the currently active URI. The string is owned by GTK+ and must
- *   not be freed or modified.
+ * Returns: (nullable): the currently active URI or %NULL if there is none.
+ *   The string is owned by GTK+ and must not be freed or modified.
  */
 const gchar *
 gtk_label_get_current_uri (GtkLabel *label)